<template>
	<view class="select-box" v-if="visible">
		<view class="current">√</view>
	</view>
</template>

<script setup lang="ts">
	defineProps({
		visible: {
			type: Boolean,
			default: false
		}
	})
</script>

<style lang="scss" scoped>
	.select-box{
		position: absolute;
		right: 0;
		bottom: 0;
		width: 50upx;
		height: 50upx;
		background: #2BC888;
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		// border-radius: 12upx;
		.current{
			position: absolute;
			right: 0upx;
			bottom: 0upx;
			font-weight: lighter;
			font-size: 30upx;
			color: #fff;
		}
	}
</style>